addElement
Deprecated
Use 'add' instead
Adds an element, keyed off a manually defined parent element. Uses the default padding.
NOTE: "element" here refers to a piece of a PopupWidget layout. "Elements" do NOT necessarily have to be minecraft Element
Return
Builder - this builder for further use
Author
fzzyhmstrs
Since
0.2.0
Parameters
Any subclass of Widget
String - the id of this element, used when an element refers to this one as a parent
E - the widget
String - the id of the parent to key layout of this new element off of.
vararg Position - defines the layout arrangement of this element compared to its parent. See the doc for Position for details.
Deprecated
Use 'add' instead
Adds an element, automatically keyed off the last added element (or "title" if this is the first added element). Uses the default padding.
NOTE: "element" here refers to a piece of a PopupWidget layout. "Elements" do NOT necessarily have to be minecraft Element
Return
Builder - this builder for further use
Author
fzzyhmstrs
Since
0.2.0
Parameters
Any subclass of Widget
String - the id of this element, used when an element refers to this one as a parent
E - the widget
vararg Position - defines the layout arrangement of this element compared to its parent. See the doc for Position for details.